package com.lzh.financial.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lzh.financial.bean.PUserMoneyBean;
import com.lzh.financial.dao.IUserMapper;
import com.lzh.financial.dao.IUserMoneyMapper;
import com.lzh.financial.service.IuserMoneyService;
import com.lzh.financial.util.MapperFactory;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @author reborn0530
 * 支出余额业务层实现类
 */
@Service
@Slf4j
public class UserMoneyServiceImpl extends ServiceImpl<IUserMoneyMapper, PUserMoneyBean> implements IuserMoneyService   {


    @Override
    public PUserMoneyBean getTotalMoneyById(String userId) {
        return getBaseMapper().getTotoleMoneyById(userId);
    }
}
